# -*- encoding:utf-8 -*-

import md5 

def sign(param, sercetCode):
    src = sercetCode + ''.join(["%s%s" % (k, v) for k, v in sorted(param.items())])
    return md5.new(src).hexdigest().upper()

